package com.neusoft.ecommerce.entity;
/**
 * 
 * 
 * @author Alouette~
 *
 */

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class OutShelves extends AbstractToString{
	private Integer outShelvesNo;
	//外键
	
	private Goods goods;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date outShelvesTime;
	private Integer outShelvesAmount;
	public OutShelves() {
		super();
	}
	public OutShelves(Integer outShelvesNo, Goods goods, Date outShelvesTime, Integer outShelvesAmount) {
		super();
		this.outShelvesNo = outShelvesNo;
		this.goods = goods;
		this.outShelvesTime = outShelvesTime;
		this.outShelvesAmount = outShelvesAmount;
	}
	/**
	 * @return the outShelvesNo
	 */
	public Integer getOutShelvesNo() {
		return outShelvesNo;
	}
	/**
	 * @param outShelvesNo the outShelvesNo to set
	 */
	public void setOutShelvesNo(Integer outShelvesNo) {
		this.outShelvesNo = outShelvesNo;
	}
	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}
	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	/**
	 * @return the outShelvesTime
	 */
	public Date getOutShelvesTime() {
		return outShelvesTime;
	}
	/**
	 * @param outShelvesTime the outShelvesTime to set
	 */
	public void setOutShelvesTime(Date outShelvesTime) {
		this.outShelvesTime = outShelvesTime;
	}
	/**
	 * @return the outShelvesAmount
	 */
	public Integer getOutShelvesAmount() {
		return outShelvesAmount;
	}
	/**
	 * @param outShelvesAmount the outShelvesAmount to set
	 */
	public void setOutShelvesAmount(Integer outShelvesAmount) {
		this.outShelvesAmount = outShelvesAmount;
	}
	
}
